/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class UserLock {
    /**
     * user_lock.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * user_lock.share_user_id
     * 分享者id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long shareUserId;

    /**
     * user_lock.item_id
     * 商品id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long itemId;

    /**
     * user_lock.item_price
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long itemPrice;

    /**
     * user_lock.open_id
     * 微信openid
     * VARCHAR(100)
     *
     * @mbggenerated
     */
    private String openId;

    /**
     * user_lock.type
     * 0店铺
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * user_lock.status
     * 0点击生成   1锁定
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * user_lock.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * user_lock.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * user_lock.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * user_lock.attribute
     * 
     * VARCHAR(1000)
     *
     * @mbggenerated
     */
    private String attribute;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public Long getShareUserId() {
        return shareUserId;
    }

    /* @mbggenerated */
    public void setShareUserId(Long shareUserId) {
        this.shareUserId = shareUserId;
    }

    /* @mbggenerated */
    public Long getItemId() {
        return itemId;
    }

    /* @mbggenerated */
    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    /* @mbggenerated */
    public Long getItemPrice() {
        return itemPrice;
    }

    /* @mbggenerated */
    public void setItemPrice(Long itemPrice) {
        this.itemPrice = itemPrice;
    }

    /* @mbggenerated */
    public String getOpenId() {
        return openId;
    }

    /* @mbggenerated */
    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }
}